﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace NP.BPMReportPlatform.HandInvoice.Dto
{
    public class VoucherPostingHeadDto
    {

        /// <summary>
        /// 公司--BUKRS
        /// </summary>
        [StringLength(4)]
        public string CompanyCode { get; set; }

        /// <summary>
        /// 凭证类型--BLART
        /// </summary>
        [StringLength(2)]
        public string VoucherType { get; set; }

        /// <summary>
        /// 凭证过账日期--BUDAT
        /// </summary>
        [StringLength(10)]
        public string VoucherPostingDate { get; set; }

        /// <summary>
        /// 凭证抬头文本--BKTXT
        /// </summary>
        [StringLength(25)]
        public string VoucherTitleText { get; set; }

        /// <summary>
        /// 货币码--WAERS
        /// </summary>
        public string CurrencyKey { get; set; }

        /// <summary>
        /// 参考凭证号 - XBLNR
        /// </summary>
        [StringLength(16)]
        public string ReferenceVoucherNumber { get; set; }

        /// <summary>
        /// 单据号 --DJH
        /// </summary>
        public string OrderNumber { get; set; }

        /// <summary>
        /// 单据类型
        /// </summary>
        public int OrderType { get; set; }

        /// <summary>
        /// GUID  过账成功后会返回此信息
        /// </summary>
        public string GUID { get; set; }

    }
}
